/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package menus;

import com.sun.lwuit.Form;
import com.sun.lwuit.events.ActionListener;
import util.Menu;

/**
 *
 * @author nialldeasy
 */
public class Translator extends Menu{

    protected void execute(Form f) {
        this.setLayout(4);
        this.setBackround("notepad.jpg");
        String[] langs = {"french", "spanish"};
        addListDavid(langs,"Menu", f);

        String[] english = {"Hello", "Goodbye", "welcome", "How are you?", "Shop", "Toilet", "I would like...", "Youth Hostel",
        "Thank you", "Please", "Swimming Pool"};
        addListDavid(english,"english", f);

        String[] spanish = {"hola", "adios", "bienvenido", "Que tal estas", "tienda", "cuarto de bano", "Me gustaria...",
        "Albergue juvenil", "Gracias", "Por favor", "piscina"};
        addListDavid(spanish,"spanish", f);

        String[] french = {"salut", "Au revoir", "bienvenue", "Ca và?", "Magasine", "Toilette", "Je voudrais...",
        "l'auberge de jeunesse", "Merci", "S'il vous plait", "Piscine"};
        addListDavid(french,"french", f);


    }

    public void recycleBin() {
    }

    public void update() {
       // throw new UnsupportedOperationException("Not supported yet.");
    }


   


}
